常用方法
常用方法
常用方法
常用方法
//Get information all house public List <House> GetAllInfoHouse() { List <House> ListNewsHouse = new List <House>(); ListNewsHouse = _houseRepository.GetAllHouse(); //Get first image to assign Avatar of news foreach (House item in ListNewsHouse) { item.FirstImageName = _imageNameRepository.GetFirstImageNameByIdImage(item.Id); } return(ListNewsHouse); }