示例#1
0
 public Order(int id, Client client, Location location, Account creator, Accu accu, string info, bool done)
 {
     this.Id       = id;
     this.Client   = client;
     this.Location = location;
     this.Creator  = creator;
     this.Accu     = accu;
     this.Info     = info;
     this.Done     = done;
 }
示例#2
0
 public bool UpdateAccu(Accu accu)
 {
     return(_accuDal.UpdateAccu(new AccuDto(accu.Id, accu.Name, accu.Creator.Id, accu.Specs)));
 }
示例#3
0
 public bool AddAccu(Accu accu)
 {
     return(_accuDal.AddAccu(new AccuDto(0, accu.Name, accu.Creator.Id, accu.Specs)));
 }