コード例 #1
0
 /// <summary>Create
 /// <CreatedBy>Nagendra Upwanshi</CreatedBy>
 /// <CreatedOn>Nov-18-2014</CreatedOn>
 /// <CreatedFor>Load UI for Create New User</CreatedFor>
 /// </summary>
 /// <param name="usr"></param>
 /// <returns></returns>
 public ActionResult CreateEmployee(string usr)
 {
     try
     {
         ViewBag.Country = _ICommonMethod.GetAllcountries();
         var _UserModel = _ICommonMethod.LoadInvitedUser(usr);
         ViewBag.JobTitleList = _ICommonMethod.GetGlobalCodeData("UserJobTitle");
         ViewBag.LocationList = _IGlobalAdmin.GetAllLocationNew();
         return(View("Employee", _UserModel));
     }
     catch (Exception ex)
     { ViewBag.Message = ex.Message; ViewBag.AlertMessageClass = ObjAlertMessageClass.Danger; return(View("Error")); }
 }