public IActionResult GetById(int id)
        {
            var subTask = _subTaskServices.GetById(id);

            return(View(subTask));
        }
示例#2
0
        public async Task <IActionResult> Get(Guid companyId, int id)
        {
            var SubTask = await _subTaskService.GetById(companyId, id);

            return(Ok(Mapper.Map <SubTaskModel>(SubTask)));
        }