예제 #1
0
        public async Task <IActionResult> GetCurrentToolState(int id)
        {
            var toolState = await _repo.GetCurrentToolState(id);

            var toolStateToReturn = _mapper.Map <ToolStateDto>(toolState);

            return(Ok(toolStateToReturn));
        }