Beispiel #1
0
        private WineService CreateWineService()
        {
            var userId  = Guid.Parse(User.Identity.GetUserId());
            var service = new WineService(userId);

            return(service);
        }
Beispiel #2
0
 public WinesController(WineService wineService)
 {
     _wineService = wineService;
 }