public async Task Delete(int id) { await _stuffTypeService.DeleteStuffTypeAsync(id); }
public override async Task <EmptyResponse> DeleteStuffType(DeleteStuffTypeRequest request, ServerCallContext context) { await _stuffTypeService.DeleteStuffTypeAsync(request.Id); return(new EmptyResponse()); }