Пример #1
0
 public compfinyearmodel(compfinyear objcompmstfinyear) : this()
 {
     compfinid = objcompmstfinyear.compfinid;
     compid    = objcompmstfinyear.compid;
     finstart  = objcompmstfinyear.finyrstart;
     finend    = objcompmstfinyear.finyrend;
 }
Пример #2
0
        public ActionResult formcompfinyear(string id = "")
        {
            compfinyearmodel  objmodel        = new compfinyearmodel();
            ManageCompFinYear managecompfinyr = new ManageCompFinYear();

            if (id != "")
            {
                compfinyear compfinyr = managecompfinyr.GetFinYearbyId(id, ProjectSession.custid);
                objmodel = new compfinyearmodel(compfinyr);
            }

            return(View(objmodel));
        }