Пример #1
0
        public async Task <bool> AddEmployeeAsync(EmployeeBOL employeeBOL)
        {
            try
            {
                var employee = _employeeModel.GetMapEmployeeBOL(employeeBOL);
                await _employeeRepo.AddAsync(employee);

                return(true);
            }

            catch (Exception ex)
            {
                throw ex;
            }
        }