Exemplo n.º 1
0
 public static IList <CurrentExpendsTable> GetAllCurentExp()
 {
     return(DataLayer.GetAllCurrentExpends());
 }
Exemplo n.º 2
0
 public static void UpdateCurrentExpend(CurrentExpendsTable selectedCurrentExp, EmployeeTable selectedEmployee,
                                        string notes, string name, int cost,
                                        DateTime date, int active)
 {
     DataLayer.UpdateCurrentExpend(selectedCurrentExp, selectedEmployee, notes, name, cost, date, active);
 }
Exemplo n.º 3
0
 public static IList <variableExpendsTable> GetAllVariableExp()
 {
     return(DataLayer.GetAllVariableExpends());
 }
Exemplo n.º 4
0
 public IList <EmployeeTable> GetAll()
 {
     return(DataLayer.GetAllEmployeesDL());
 }
Exemplo n.º 5
0
 public static void AddCurrentExpend(EmployeeTable selectedEmployee, string notes, string name, int cost,
                                     DateTime date)
 {
     DataLayer.AddCurrentExpend(selectedEmployee, notes, name, cost, date);
 }
Exemplo n.º 6
0
 public static void UpdateBL(EmployeeTable et, string firstName, string lastName, string address, string phone,
                             string mail, int active, int salary, string notes)
 {
     DataLayer.UpdateEmployeeDL(et, firstName, lastName, address, phone, mail, active, salary, notes);
 }
Exemplo n.º 7
0
 public static void InsertBL(string firstName, string lastName, string address, string phone, string eMail,
                             int activity, string notes, int salary)
 {
     DataLayer.InsertEmployeeDL(firstName, lastName, address, phone, eMail, activity, notes, salary);
 }
 public IList <orderFromSupplierTable> GetAll()
 {
     return(DataLayer.GetAllOrderFromSupplierDL());
 }
 public static void UpdateBL(orderFromSupplierTable selectedOrder, string shippingNumber, string receptionNumber,
                             EmployeeTable selectedEmployee, DateTime orderDate, DateTime supplyingDate, string notes, int active)
 {
     DataLayer.UpdatePurchaseFromSupplier(selectedOrder, shippingNumber, receptionNumber, selectedEmployee, orderDate, supplyingDate, notes, active);
 }
 public static void AddPurchaseFromSupplier(string shippingNumber, string receptionNumber, EmployeeTable employee,
                                            DateTime orderDate, DateTime supplyingDate, string notes, List <orderFromSupplierDetailTable> Idlist)
 {
     DataLayer.AddPurchaseFromSupplier(shippingNumber, receptionNumber, employee, orderDate, supplyingDate, notes, Idlist);
 }