Example #1
0
        public GenericSimpleController(IGenericService <TEntity, TDto, TPrimitiveDto> genericService, IViewModelSelectListBuilder <TSimpleViewModel> viewModelSelectListBuilder, bool isCreateWizard, bool isSimpleCreate)
            : base(genericService)
        {
            this.GenericService             = genericService;
            this.viewModelSelectListBuilder = viewModelSelectListBuilder;

            this.isCreateWizard = isCreateWizard;
            this.isSimpleCreate = isSimpleCreate;
        }
Example #2
0
 public GenericSimpleController(IGenericService <TEntity, TDto, TPrimitiveDto> genericService, IViewModelSelectListBuilder <TSimpleViewModel> viewModelSelectListBuilder, bool isCreateWizard)
     : this(genericService, viewModelSelectListBuilder, isCreateWizard, false)
 {
 }
Example #3
0
 public GenericSimpleController(IGenericService <TEntity, TDto, TPrimitiveDto> genericService, IViewModelSelectListBuilder <TSimpleViewModel> viewModelSelectListBuilder)
     : this(genericService, viewModelSelectListBuilder, false, true)
 {
 }
Example #4
0
 public GenericViewDetailController(IGenericWithViewDetailService <TEntity, TEntityDetail, TEntityViewDetail, TDto, TPrimitiveDto, TDtoDetail> genericWithViewDetailService, IViewModelSelectListBuilder <TViewDetailViewModel> viewModelSelectListBuilder, bool isCreateWizard, bool isSimpleCreate)
     : base(genericWithViewDetailService, viewModelSelectListBuilder, isCreateWizard, isSimpleCreate)
 {
     this.genericWithViewDetailService = genericWithViewDetailService;
 }
Example #5
0
 public GenericViewDetailController(IGenericWithViewDetailService <TEntity, TEntityDetail, TEntityViewDetail, TDto, TPrimitiveDto, TDtoDetail> genericWithViewDetailService, IViewModelSelectListBuilder <TViewDetailViewModel> viewModelSelectListBuilder, bool isCreateWizard)
     : this(genericWithViewDetailService, viewModelSelectListBuilder, isCreateWizard, false)
 {
 }
Example #6
0
 public GenericViewDetailApiController(IGenericWithViewDetailService <TEntity, TEntityDetail, TEntityViewDetail, TDto, TPrimitiveDto, TDtoDetail> genericWithViewDetailService, IViewModelSelectListBuilder <TViewDetailViewModel> viewModelSelectListBuilder)
     : this(genericWithViewDetailService, viewModelSelectListBuilder, false, true)
 {
 }