Пример #1
0
        public async Task <LeaveType> CreateNewLeaveType(LeaveType leaveType)
        {
            try
            {
                var res = await _repository.CreateNewLeaveTypes(leaveType);

                return(res);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }