Example #1
0
        public async Task <IActionResult> Delete([FromQuery] VendorDeleteModel vendorDeleteModel)
        {
            var response = await _vendorService.DeleteVendor(vendorDeleteModel);

            return(Ok(response));
        }
 public async Task <CommonResponse> DeleteVendor(VendorDeleteModel vendorDeleteModel)
 {
     return(await _vendorRepository.DeleteVendor(vendorDeleteModel));
 }
Example #3
0
 public async Task <CommonResponse> DeleteVendor(VendorDeleteModel vendorDeleteModel)
 {
     return(await ExecuteAll <CommonResponse>("Pdt.DeleteVendors", vendorDeleteModel));
 }