예제 #1
0
 /// <summary>
 /// DeliveryType Update
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 async public Task <string> UpdateDeliveryType(DeliveryType item)
 {
     return(await Save <DeliveryType>(EntityState.Modified, item));
 }
예제 #2
0
 /// <summary>
 /// DeliveryType Add
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 async public Task <string> AddDeliveryType(DeliveryType item)
 {
     return(await Save <DeliveryType>(EntityState.Added, item));
 }