public async Task <ActionResult> Activity(FormCollection _form)
        {
            if (_UtilitySession.Session != null)
            {
                ViewBag.Name = _UtilitySession.Session.user.name;
                ts_timesheet _ts_timesheet_enq = new ts_timesheet();
                _ts_timesheet_enq.remarks = _form["txtRemarks"].ToString();
                _ts_timesheet_enq.job_no  = _form["txtEnquairyNo"].ToString();
                _ts_timesheet_enq.groupid = _form["txtgroupId"].ToString();

                _ts_timesheet_enq = await Task.Run(() => _Repository.setActivityDetailsForOther(_ts_timesheet_enq));

                return(View(_ts_timesheet_enq));
            }
            else
            {
                return(RedirectToAction("Index", "Home"));
            }
        }
        public async Task <ActionResult> Activity(string enq_no, string groupid)
        {
            if (_UtilitySession.Session != null)
            {
                if (enq_no == null)
                {
                    return(RedirectToAction("Index", "Home"));
                }
                else
                {
                    ViewBag.Name = _UtilitySession.Session.user.name;
                    ts_timesheet _ts_timesheet_enq = new ts_timesheet();
                    _ts_timesheet_enq = await Task.Run(() => _Repository.getActivityDetailsForOther(enq_no, groupid));

                    return(View(_ts_timesheet_enq));
                }
            }
            else
            {
                return(RedirectToAction("Index", "Home"));
            }
        }