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; }
public bool UpdateAccu(Accu accu) { return(_accuDal.UpdateAccu(new AccuDto(accu.Id, accu.Name, accu.Creator.Id, accu.Specs))); }
public bool AddAccu(Accu accu) { return(_accuDal.AddAccu(new AccuDto(0, accu.Name, accu.Creator.Id, accu.Specs))); }