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