public AccountController(IAuthProvider auth,
                          IUserRepository urepo,
                          IsRecipeEFRepository repo)
     : base(repo)
 {
     _authProvider = auth;
     _urepo        = urepo;
 }
 public RecipesController(IsRecipeEFRepository repo) : base(repo)
 {
     ViewData["MealTypeList"] = GetSelectListItems
                                    (_repo.GetMealTypes()
                                    .ProjectTo <MealTypeViewModel>()
                                    );
     ViewData["MealTypeListAll"] = GetSelectListItems
                                       (_repo.GetMealTypes()
                                       .ProjectTo <MealTypeViewModel>(),
                                       "ALL Meal Type"
                                       );
 }
 public MemberController(IUserRepository urepo, IsRecipeEFRepository repo) : base(repo)
 {
     this.UserRepo = urepo;
 }
示例#4
0
 public IngredientsController(IsRecipeEFRepository repo) : base(repo)
 {
 }
示例#5
0
 public SampleController(IsRecipeEFRepository repo) : base(repo)
 {
     _context = new sRecipeContext();
 }
示例#6
0
 public NavController(IsRecipeEFRepository repo) : base(repo)
 {
 }
 public CommentsController(IsRecipeEFRepository repo) : base(repo)
 {
 }
 public DefaultController(IsRecipeEFRepository repo) : base(repo)
 {
 }
 public PictureController(IsRecipeEFRepository repo) : base(repo)
 {
 }
 public ApiControllerBase(IsRecipeEFRepository repo)
 {
     _repo = repo;
 }
 public ApiControllerBase()
 {
     _repo = new sRecipeEFRepository();
 }
 public DirectionsController(IsRecipeEFRepository repo) : base(repo)
 {
 }
 protected ThemeControllerBase(IsRecipeEFRepository repo)
 {
     _repo = repo;
 }