Exemplo n.º 1
0
 public async Task Delete(int id)
 {
     await _stuffTypeService.DeleteStuffTypeAsync(id);
 }
Exemplo n.º 2
0
        public override async Task <EmptyResponse> DeleteStuffType(DeleteStuffTypeRequest request, ServerCallContext context)
        {
            await _stuffTypeService.DeleteStuffTypeAsync(request.Id);

            return(new EmptyResponse());
        }