예제 #1
0
 public async Task <Core.Helpers.ServiceResult> UpdateAsync(Core.Entities.CouponCode cp)
 {
     return(await Task.Run(() => Update(cp)));
 }
예제 #2
0
 public Core.Helpers.ServiceResult Update(Core.Entities.CouponCode cp)
 {
     m_counponCodeRespository.Update(cp);
     m_counponCodeRespository.SaveChanges();
     return(ServiceResult.Success);
 }