Ejemplo n.º 1
0
 public static async Task <int> SaveCustomerSchedule(T_Customer_Schedule model)
 {
     using (T_Customer_Schedule_Entities dao = new T_Customer_Schedule_Entities())
     {
         return(await dao.Save(model));
     }
 }
Ejemplo n.º 2
0
 public static async Task <int> RemoveCustomerSchedule(long Id)
 {
     using (T_Customer_Schedule_Entities dao = new T_Customer_Schedule_Entities())
     {
         return(await dao.Remove(Id));
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 获取客户计划模型
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public static async Task <object> GetCustomerSchedule(long id)
 {
     using (T_Customer_Schedule_Entities dao = new T_Customer_Schedule_Entities())
     {
         return(await dao.Find(id));
     }
 }