Ejemplo n.º 1
0
 public QuotationsController()
 {
     client.BaseAddress = new Uri("http://localhost:54218/api/");
     client.DefaultRequestHeaders.Accept.Add(
         new MediaTypeWithQualityHeaderValue("application/json"));
     _GlobalErrors     = new GlobalErrors();
     _QuotationService = new QuotaionService(_GlobalErrors);
 }
Ejemplo n.º 2
0
 public QuotaionController()
 {
     _QuotaionService = new QuotaionService(globalErrors);
 }