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