public IEnumerable <BuildingDto> GetBuildingsList(int companyId)
 {
     return(_buildingRepository.Buildings.Where(x => x.CompanyId == companyId).Select(x => DTOMapper.GetBuildingDto(x)));
 }
 public IEnumerable <BuildingDto> GetAllBuildings()
 {
     return(_buildingRepository.Buildings.Select(x => DTOMapper.GetBuildingDto(x)));
 }