public ActionResult GetLatestDocName(int Type) { ModelImple.LookUps _LookUps = new ModelImple.LookUps(); PLog.Info("BEGIN::Controller > GridStock, Method > GetLatestDocName(int Type)"); string str = ""; try { if (Type > 0) { str = _LookUps.GetDocName(Type); } } catch (Exception ex) { PLog.Error("Error::Controller >GridStock, Method > GetLatestDocName(int Type)", ex); } PLog.Info("END::Controller > GridStock, Method > GetLatestDocName(int Type)"); return(Content(str)); }