示例#1
0
 public ApiController(ISampleDIService sampleDIService, Repository <Customer, long> customerRepo) : base()
 {
     _sampleDIService = sampleDIService;
     _customerRepo    = customerRepo;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UIController"/> class.
 /// </summary>
 /// <param name="sampleDIService">The sample di service.</param>
 public UIController(ISampleDIService sampleDIService) : base()
 {
     _sampleDIService = sampleDIService;
 }