public async Task <Faculty> FindByCode(string code) { return(await _facultyRepository.FirstOrDefault(c => c.Code == code)); }