public UserRepository(PhotoContext context) { photoContext = context; }
public UserController() { photoContext = new PhotoContext(); userRepository = new UserRepository(photoContext); }
public PhotoRepository(PhotoContext context) { photoContext = context; }