public void SetForm(Create form) { _form = form; _form.ServiceCategories = _serviceCategoryRepository.GetAll(); _form.Services = _serviceRepository.GetAll(); }
public void SetForm(Add form) { _form = form; _form.ServiceCategories = _categoryRepository.GetAll(); }
public IEnumerable <ServiceCategory> GetAll() { return(serviceCategoryRepository.GetAll()); }