Пример #1
0
        public async Task <List <string> > GetLogYearsByDeptartmentAsync(int departmentId)
        {
            var items = await _logsRepository.SelectLogYearsByDeptAsync(departmentId);

            if (items != null && items.Any())
            {
                return(items.ToList());
            }

            return(new List <string>());
        }