public async Task <ResponseViewModel> Delete(int id) { var response = new ResponseViewModel { Result = true, }; response.Result = await _voucherService.Detete(id); response.Messages.Add(response.Result ? SuccessMessage : FailMessage); return(response); }