public ActionResult SaveMarketJob(MarketJobViewModel model)
        {
            model.TenantId = CurrentTenantId;

            int status = (int)MarketJobStatusEnum.UnAllocated;

            if (model.ResourceID != null)
            {
                status = (int)MarketJobStatusEnum.Allocated;
            }

            _marketServices.SaveMarketJob(Mapper.Map(model, new MarketJob()), model.ResourceID, status, CurrentUserId, CurrentTenantId);
            return(RedirectToAction("MarketJobs"));
        }