Exemplo n.º 1
0
 public static List<GetCoolBrotherUserListBySA_Result> GetCoolBrotherUserListBySa(int saUserId, int levelId=0)
 {
     using (var edb = new coolBrotherEntities())
     {
         return edb.GetCoolBrotherUserListBySA(saUserId,levelId).ToList();
     }
 }
Exemplo n.º 2
0
 public static List<GetCoolBrotherByBranch_Result> GetCoolBrotherByBranch(int areaId, DateTime begDate, DateTime endDate)
 {
     using (var edb = new coolBrotherEntities())
     {
         return edb.GetCoolBrotherByBranch(begDate,endDate,areaId).ToList();
     }
 }
Exemplo n.º 3
0
 public static List<GetCoolBrotherBySA_Result> GetCoolBrotherBySA(int branchId, DateTime begDate, DateTime endDate)
 {
     using (var edb = new coolBrotherEntities())
     {
         return edb.GetCoolBrotherBySA(branchId, begDate, endDate).ToList();
     }
 }
Exemplo n.º 4
0
 public static List<GetCoolBrotherActivity_Result> GetCoolBrotherActivity(int areaId, DateTime searchDate)
 {
     using (var edb = new coolBrotherEntities())
     {
         return edb.GetCoolBrotherActivity(areaId, searchDate).ToList();
     }
 }