コード例 #1
0
 public Customer_DetailsController(Icustomer _custdata)
 {
     _log4net = log4net.LogManager.GetLogger(typeof(Customer_DetailsController));
     custdata = _custdata;
     //_con = con;
 }
コード例 #2
0
 public CustomerController(Icustomer cus)   // here Constructor injection is happenning check with design principle (dip)
 {
     this.cus = cus;
 }
コード例 #3
0
 public int AddC(Icustomer obj)
 {
     lst.Add(obj);
     return(obj.Cid);
 }