Beispiel #1
0
        // GET: Profile
        //public ActionResult Index()
        //{
        //    if (Session["User"] == null)
        //        return RedirectToAction("Index", "Home");
        //    UserModels user = new UserModels();

        //    return View(CurrentUser);
        //}

        public EmployeeDetailModels GetDetail(string id)
        {
            try
            {
                EmployeeDetailModels model = _factory.GetDetail(id);
                return(model);
            }
            catch (Exception ex)
            {
                NSLog.Logger.Error("GetDetail error: ", ex);
                return(null);
            }
        }