Exemple #1
0
        public IActionResult Delete(string id)
        {
            _loanAppService
            .Delete(id);

            return(RedirectToAction("Index"));
        }
Exemple #2
0
 public async Task <IActionResult> Delete(Guid id)
 {
     return(_actionResultConverter.Convert(await _loanAppService.Delete(id)));
 }