public async Task <ActionResult> CreateTool(ToolAddDto tool) { var entity = _mapper.Map <Tool>(tool); _toolRepository.AddTool(entity); await _toolRepository.SaveAsync(); return(Ok()); }