using dccdc.DAL; using dccdc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace dccdc.BLL { public class sqshBll { public sqshDal Dal = new sqshDal(); public List GetAllTreeList() { return Dal.GetAllTreeList(); } public sqshModel GetmodelByName(string name) { return Dal.GetmodelByName(name); } public List GetAllList() { return Dal.GetAllList(); } public List GetListByKey(string type,string sqid) { return Dal.GetListByKey(type, sqid); } public List GetAllList(string id) { return Dal.GetAllList(id); } public bool Add(sqshModel model) { return Dal.Add(model); } public bool Update(sqshModel model) { return Dal.Update(model); } } }