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; }
public void Update(RealEstateTypes entity) { _repositoryBase.Update(entity); }
public void Delete(RealEstateTypes entity) { _repositoryBase.Delete(entity); }
public void Add(RealEstateTypes entity) { _repositoryBase.Add(entity); }