Пример #1
0
        public JsonResult Delete([FromBody] BusinessModels.Billing.TariffMaster input)
        {
            var result = service.Delete(input);
            var ret    = $"{{\"msg\":\"{result}\"}}";

            return(new JsonResult(ret));
        }
Пример #2
0
 public string Delete(BusinessModels.Billing.TariffMaster tariff)
 {
     return(Repository.Delete(Mapper.Map <DataModels.Billing.TariffMaster>(tariff)));
 }