public async Task <bool> Add(DepartmentCreateDto model)
        {
            try
            {
                var cat = _mapper.Map <Department>(model);
                _repoDepartment.Add(cat);
                await _repoDepartment.SaveAll();

                var langs = model.Langs.Select(x => new DepartmentLang {
                    DepartmentID = cat.DepartmentID, Name = x.Name, LanguageID = x.LanguageID
                }).ToList();
                await _repoDepartment.AddDepartmentLang(langs);

                return(true);
            }
            catch (Exception ex)
            {
                return(false);
            }
        }