public void SetForm(Add form) { _form = form; _form.UnitOfMeasurements = _measurementRepository.GetAll(); _form.Storages = _storageRepository.GetAll(); _form.ProductCategories = _categoryRepository.GetAll(); }
public IList <UnitOfMeasurement> GetUnits() { return(_unitRepository.GetAll()); }
public void SetForm(QuickAdd form) { _form = form; _form.Measurements = _measurementRepository.GetAll(); }
public void SetForm(View form) { _form = form; _form.UnitOfMeasurements = _measurementRepository.GetAll(); }