예제 #1
0
        public void SetForm(Create form)
        {
            _form = form;

            _form.ServiceCategories = _serviceCategoryRepository.GetAll();
            _form.Services          = _serviceRepository.GetAll();
        }
예제 #2
0
        public void SetForm(Add form)
        {
            _form = form;

            _form.ServiceCategories = _categoryRepository.GetAll();
        }
 public IEnumerable <ServiceCategory> GetAll()
 {
     return(serviceCategoryRepository.GetAll());
 }