// GET: Promotions public PromotionsController() { if (_repositorytypepromotions == null) { _repositorytypepromotions = new RepositoryTypePromotions(); } }
public RentsController() { if (_repositoryrents == null) { _repositoryrents = new RepositoryRents(); } if (_repositoryclients == null) { _repositoryclients = new RepositoryClients(); } if (_repositorytypepromotions == null) { _repositorytypepromotions = new RepositoryTypePromotions(); } if (_repositorytyperents == null) { _repositorytyperents = new RepositoryTypeRents(); } if (listbodyrents == null) { listbodyrents = new List <ModelBodyRents>(); } if (_repositorybodyrents == null) { _repositorybodyrents = new RepositoryBodyRents(); } }