Exemplo n.º 1
0
 public static async Task<object> SaveCustomerTask(T_Customer_Task model)
 {
     using (T_Customer_Task_Entities entity = new T_Customer_Task_Entities())
     {
         return await entity.Save(model);
     }
 }
Exemplo n.º 2
0
 public static async Task<object> GetCustomerTask(long taskId)
 {
     using (T_Customer_Task_Entities entity = new T_Customer_Task_Entities())
     {
         return await entity.Find(taskId);
     }
 }
Exemplo n.º 3
0
 public static async Task<object> GetCustomerTasks(long cid)
 {
     using (T_Customer_Task_Entities entity = new T_Customer_Task_Entities())
     {
         return await entity.List(cid);
     }
 }