public static Profit_ExpanceWCF DAL_to_WCF(Profit_ExpenceDAL profit_ExpenceDAL)
        {
            Profit_ExpanceWCF profit_ExpenceWCF = new Profit_ExpanceWCF()
            {
                Date_               = profit_ExpenceDAL.Date_,
                Sum                 = profit_ExpenceDAL.Sum,
                Description         = profit_ExpenceDAL.Description,
                Profit_Expance_Type = profit_ExpenceDAL.Profit_Expance_Type
            };

            return(profit_ExpenceWCF);
        }
Ejemplo n.º 2
0
        public static Profit_ExpanceBLL WCF_to_BLL(Profit_ExpanceWCF profit_ExpenceWCF)
        {
            Profit_ExpanceBLL profit_ExpenceBLL = new Profit_ExpanceBLL()
            {
                Date_               = profit_ExpenceWCF.Date_,
                Sum                 = profit_ExpenceWCF.Sum,
                Description         = profit_ExpenceWCF.Description,
                Profit_Expance_Type = profit_ExpenceWCF.Profit_Expance_Type
            };

            return(profit_ExpenceBLL);
        }
Ejemplo n.º 3
0
 public void Delete_Plan(Profit_ExpanceWCF profit_ExpanceWCF, string login)
 {
     _bll.Delete_Plan(Converter.WCF_to_BLL(profit_ExpanceWCF), login);
 }
Ejemplo n.º 4
0
 //Plans
 public void Save_New_Plan(Profit_ExpanceWCF new_plan, string Type, string login)
 {
     _bll.Save_New_Plan(Converter.WCF_to_BLL(new_plan), Type, login);
 }
Ejemplo n.º 5
0
 public void Save_New_Expance(Profit_ExpanceWCF new_expance, string Type, string login)
 {
     _bll.Save_New_Expence(Converter.WCF_to_BLL(new_expance), Type, login);
 }