Пример #1
0
        public ActionResult MyJobs()
        {
            int             adminId   = Convert.ToInt16(Session["AdminId"]);
            CalenderJobs    _model    = new CalenderJobs();
            jobServices     _ser      = new jobServices();
            jobServices     _services = new jobServices();
            contactServices _conser   = new contactServices();

            ViewData["users"]  = _conser.GetaAllContactsByAdminId(adminId);
            ViewData["type"]   = _services.getAllJobtypes(adminId);
            ViewData["status"] = _services.getAllStatus();
            _model             = _ser.GetAllTodayTskname(adminId, DateTime.Now);
            return(View(_model));
        }