public UsersController(UserDataPersister data)
 {
     this.data = data;
 }
 public DbDependencyResolver(RecipeAppContext context)
 {
     this.context = context;
     recipeRepository = new RecipeRepository(context);
     data = new UserDataPersister(context);
 }
 public RecipiesController(IRepository<Recipe> recipeRepository, UserDataPersister data)
 {
     this.recipeRepository = recipeRepository;
     this.persister = data;
 }