57 lines
1.1 KiB
C#
57 lines
1.1 KiB
C#
|
|
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 xcximgBll
|
|||
|
|
{
|
|||
|
|
public xcximgDal Dal = new xcximgDal();
|
|||
|
|
public List<xcximgModel> GetAllTreeList()
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllTreeList();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public xcximgModel GetmodelByName(string name)
|
|||
|
|
{
|
|||
|
|
return Dal.GetmodelByName(name);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<xcximgModel> GetAllList()
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<xcximgModel> GetListByKey(string key)
|
|||
|
|
{
|
|||
|
|
return Dal.GetListByKey(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
public List<xcximgModel> GetAllList(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public bool Add(xcximgModel model)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
return Dal.Add(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public bool Update(xcximgModel model)
|
|||
|
|
{
|
|||
|
|
return Dal.Update(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object delete(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.delete(id);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|