public bool SaveTransferHouse(HouseTransferInfo house)
 {
     using (var context = new FxHouseContext())
     {
         context.HouseTransferInfos.Add(house);
         context.SaveChanges();
     }
     return house.HouseTransferInfoId > 0;
 }
 private HouseTransferInfo MapperHouse(TransferViewHouse house)
 {
     var info = new HouseTransferInfo();
     info.Bill = house.Bill;
     info.HasFurniture = house.HasFurniture;
     info.PostCode = house.PostCode;
     info.RoadName = house.RoadName;
     info.CatagroyId = house.CatagroyId;
     info.AreaId = house.AreaId;
     info.Controller = this.ControllerName;
     info.Action = this.ActionName;
     info.CityId = house.CityId;
     info.Mark = house.Mark;
     info.RoomNumber = house.RoomNumber;
     house.FaceFiles.ForEach(r => info.Pictures.Add(r));
     house.OtherFiles.ForEach(r => info.Pictures.Add(r));
     house.BadFiles.ForEach(r => info.Pictures.Add(r));
     info.Price = (int)house.Price;
     info.PublishTitle = house.Title;
     info.PublishUserEmail = house.Email;
     info.UserAccount = User.Identity.Name;
     return info;
 }