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