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