public IEnumerable <Resident> GetResidentByEmail(string email) { try { IEnumerable <Resident> units = _residentRepository.GetResidentByEmail(email); return(units); } catch (Exception ex) { throw ex; } }