예제 #1
0
 public RacunController(RacunService racunService)
 {
     this.racunService = racunService;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RacunController"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="repository">The repository.</param>
 public RacunController()
 {
     this.apotekaContext = new ApotekaContext();
     this.racunService   = new RacunService(apotekaContext);
     this.vmService      = new RacunVMService(apotekaContext);
 }