public async Task <Department> GetDepartmentByLinkCodeAsync(string code)
 {
     return(await _departmentsRepository.GetByLinkCodeAsync(code));
 }