Ejemplo n.º 1
0
        /// <summary>
        /// Fetches all the Tenant of a building
        /// </summary>
        /// <param name="id">The Id of the User</param>
        /// <returns>Returns an List of Interfaces of Tenants</returns>
        public IEnumerable <ITenant> FetchTenants(string id)
        {
            var tenants = _personRegister.FetchTenants(_personRegister.FetchBuildingId(id));

            return(tenants);
        }