Esempio n. 1
0
 public PackagesContracts()
 {
     PackageModel                 = new Package();
     PackagesServices             = new PackagesServices();
     MedicinesContracts           = new MedicinesContracts();
     PackagesTransactionContracts = new PackageTransactionsContracts();
     UserContracts                = new UserContracts();
 }
Esempio n. 2
0
 public PackagesContracts()
 {
     PackageModel = new Package();
     PackagesServices = new PackagesServices();
     MedicinesContracts = new MedicinesContracts();
     PackagesTransactionContracts = new PackageTransactionsContracts();
     UserContracts = new UserContracts();
 }
Esempio n. 3
0
 public StockController()
 {
     packagesContracts = new PackagesContracts();
     medicineContracts = new MedicinesContracts();
     userContracts = new UserContracts();
     dcContracts= new DistributionCentersContracts();
     packageTransactionsContracts = new PackageTransactionsContracts();
     distributionsContracts = new DistributionsContracts();
 }
Esempio n. 4
0
        public int SendPackage(Package package, string username)
        {
            PackageTransactionsContracts packageTransactionsContracts = new PackageTransactionsContracts();

            return(packageTransactionsContracts.Add(package, username));
        }
Esempio n. 5
0
 public int SendPackage(Package package,string username)
 {
     PackageTransactionsContracts packageTransactionsContracts = new PackageTransactionsContracts();
        return packageTransactionsContracts.Add(package,username);
 }