Exemplo n.º 1
0
 public List <DepartmentModel> GetDepList(DepartmentFilter filter, out int total)
 {
     using (DataProvider dp = new DataProvider())
     {
         var list = data.GetDepList(dp, filter, out total);
         return(Mapper.Map <List <DepartmentModel> >(list));
     }
 }