示例#1
0
        public void SetForm(Add form)
        {
            _form = form;

            _form.UnitOfMeasurements = _measurementRepository.GetAll();
            _form.Storages           = _storageRepository.GetAll();
            _form.ProductCategories  = _categoryRepository.GetAll();
        }
示例#2
0
 public IList <UnitOfMeasurement> GetUnits()
 {
     return(_unitRepository.GetAll());
 }
示例#3
0
 public void SetForm(QuickAdd form)
 {
     _form = form;
     _form.Measurements = _measurementRepository.GetAll();
 }
示例#4
0
 public void SetForm(View form)
 {
     _form = form;
     _form.UnitOfMeasurements = _measurementRepository.GetAll();
 }