Exemple #1
0
 public System.Threading.Tasks.Task <bool> CreateComandaAsync(CarService.Comanda comanda)
 {
     return(base.Channel.CreateComandaAsync(comanda));
 }
Exemple #2
0
 public void Update(Comanda comanda)
 {
     _context.Comenzi.AddOrUpdate(comanda);
 }
Exemple #3
0
 public bool CreateComanda(CarService.Comanda comanda)
 {
     return(base.Channel.CreateComanda(comanda));
 }
Exemple #4
0
 /// <inheritdoc />
 /// <summary>
 /// Creates the specified comanda.
 /// </summary>
 /// <param name="comanda">The comanda.</param>
 public void Create(Comanda comanda)
 {
     _context.Comenzi.Add(comanda);
 }