public MenuController(IMenuRepositorycs menurepository, IMapper mapper) { _menurepository = menurepository ?? throw new ArgumentNullException(nameof(menurepository)); this._mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
private void ResetRepositories() { _categoryRepository = null; _menuRepository = null; _menuGroupRepository = null; _orderRepository = null; _orderDetailsRepository = null; _productRepository = null; _slidetRepository = null; _venderRepository = null; }