public Task <IResult> Handle(IDeleteApplicationCommand deleteApplicationCommand, int id)
 {
     deleteApplicationCommand.Execute(id);
     return(Task.FromResult(AdminApiResponse.Deleted("Application")));
 }
Beispiel #2
0
 public Task <IResult> Handle(DeleteVendorCommand deleteVendorCommand, int id)
 {
     deleteVendorCommand.Execute(id);
     return(Task.FromResult(AdminApiResponse.Deleted("Vendor")));
 }