public ActiviyCategoryController(IServiceProvider serviceProvider)
 {
     _activityCategory = serviceProvider.GetService <IActivityCategoryService>();
     _identityService  = serviceProvider.GetService <IIdentityService>();
     _validateService  = serviceProvider.GetService <IValidateService>();
 }
Ejemplo n.º 2
0
 public ActivityCategoryController(IActivityCategoryService _IActivityCategoryService)
 {
     this.IActivityCategoryService = _IActivityCategoryService;
 }