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);
 }