public static bool AddResourcePerformanceGoals(ResourcePerformanceGoalsModel AddGoalModel)
 {
     using (HttpClient client = new HttpClient())
     {
         client.BaseAddress = new Uri(TimeSheetAPIURl);
         HttpResponseMessage response = client.PostAsJsonAsync(string.Format("Resource/AddResourcePerformanceGoal"), AddGoalModel).Result;
         if (response.IsSuccessStatusCode)
         {
             // ReturnResult = await response.Content.ReadAsAsync<ReturnModel>();
             //  HttpContext.Current.Session["ResultMessage"] = ReturnResult.Message;
             return(true);
         }
         else
         {
             // HttpContext.Current.Session["ErrorMessage"] = ReturnResult.Message;
         }
     }
     return(false);
 }
        public ActionResult CreateResourcePerformanceGoal(ResourcePerformanceGoalsModel ResourceGoalModel)
        {
            var RetunedResp = CandidateGoalServicehelper.AddResourcePerformanceGoals(ResourceGoalModel);

            return(View());
        }