public FlowerController(IUserService userService, IFlowerService flowerService, ICommentService commentService, IPictureService pictureService) { _userService = userService; _flowerService = flowerService; _commentService = commentService; _pictureService = pictureService; }
public static void RegisterMaps() { RegisterUserMap(); _userService = DependencyResolver.Current.GetService <IUserService>(); RegisterFlowerMap(); _flowerService = DependencyResolver.Current.GetService <IFlowerService>(); }
public MainViewModel(INavigationService navigationService, IFlowerService flowerService) { _navigationService = navigationService; _flowerService = flowerService; Flowers = new ObservableCollection<Flower>(); }
public FlowersController(IFlowerService flowerService) { _flowerService = flowerService; }
public HomeController(IBouquetService bouquetService, IFlowerService flowerService) { _bouquetService = bouquetService; _flowerService = flowerService; }