Esempio n. 1
0
        public async Task CreateTaskChangeAsync(TaskChangeDto taskChange)
        {
            var taskChangeEntity = _mapper.Map <TaskChangeEntity>(taskChange);
            await _taskChangeRepository.InsertAsync(taskChangeEntity);

            await _taskChangeRepository.SaveAsync();
        }
 private void ResetTaskChange()
 {
     _newTaskDto    = new TaskDto();
     _taskChangeDto = new TaskChangeDto();
 }
Esempio n. 3
0
        public async Task <ActionResult> CreateTaskChangeAsync(TaskChangeDto taskChange)
        {
            await _taskChangeService.CreateTaskChangeAsync(taskChange);

            return(Ok());
        }