Exemple #1
0
 public static List<GetCoolBrotherUserListBySA_Result> GetCoolBrotherUserListBySa(int saUserId, int levelId=0)
 {
     using (var edb = new coolBrotherEntities())
     {
         return edb.GetCoolBrotherUserListBySA(saUserId,levelId).ToList();
     }
 }
Exemple #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();
     }
 }
Exemple #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();
     }
 }
Exemple #4
0
 public static List<GetCoolBrotherActivity_Result> GetCoolBrotherActivity(int areaId, DateTime searchDate)
 {
     using (var edb = new coolBrotherEntities())
     {
         return edb.GetCoolBrotherActivity(areaId, searchDate).ToList();
     }
 }