Ejemplo n.º 1
0
        // GET: Job
        public ActionResult Index()
        {



            Jobs.Dtos.GetJobsInput getJobsInput = new Jobs.Dtos.GetJobsInput();
            getJobsInput.AssignedUserId = null;
            getJobsInput.State = Jobs.JobState.Active;



            return View(_svcJob.GetJobs(getJobsInput));
        }
Ejemplo n.º 2
0
        public PartialViewResult ListForAccountPartial(long accountid, JobType jobtype)
        {

            Jobs.Dtos.GetJobsInput getJobsInput = new Jobs.Dtos.GetJobsInput();
            getJobsInput.AssignedUserId = null;
            getJobsInput.AccountId = accountid;
            getJobsInput.State = Jobs.JobState.Active;
            getJobsInput.Type = jobtype;

            return PartialView("_ListforAccountPartial", _svcJob.GetJobs(getJobsInput));

        }