public RealEstate(RealEstateTypes type, string name)
 {
     this.Calendar         = new List <AvailablePeriod>();
     this.StartDateLeasing = DateTime.Now;
     this.EndDateLeasing   = StartDateLeasing.AddYears(2);
     this.Type             = type;
     this.Name             = name;
 }
Пример #2
0
 public void Update(RealEstateTypes entity)
 {
     _repositoryBase.Update(entity);
 }
Пример #3
0
 public void Delete(RealEstateTypes entity)
 {
     _repositoryBase.Delete(entity);
 }
Пример #4
0
 public void Add(RealEstateTypes entity)
 {
     _repositoryBase.Add(entity);
 }