Пример #1
0
        public async Task <IActionResult> AddEmployee(EmployeeModel model)
        {
            var entity = model.ToEmployee();
            await _coreRep.AddEmployee(entity, await getCurrentUser());

            return(Ok(new ResponseModel(new { result = true })));
        }