Example #1
0
        public IActionResult Post([FromBody] ApiModels.ApiTask task)
        {
            var taskModel = _taskMapper.ConverToDbModel(task);

            _tasksService.Insert(taskModel);
            return(Ok());
        }