public IHttpActionResult GetEmployeesObjectiveForHOBUWithReportTo()
        {
            //string userId = User.Identity.GetUserName();
            string    userId = User.Identity.GetUserName();
            HofBUData data   = new HofBUData();

            return(Ok(data.GetEmployeesObjectiveForHOBUWithReportTo(userId)));
        }
        public IHttpActionResult GetEmployeesObjectiveForHOBUforPerformanceAppraisal()
        {
            //string userId = User.Identity.GetUserName();
            string    userId = User.Identity.GetUserName();
            HofBUData data   = new HofBUData();

            return(Ok(data.GetEmployeesObjectiveForHOBUforPerformanceAppraisal(userId)));
        }
 public IHttpActionResult GetEmployeesForHOBU()
 {
     //string userId = User.Identity.GetUserName();
     try
     {
         string    userId = User.Identity.GetUserName();
         HofBUData data   = new HofBUData();
         return(Ok(data.GetEmployeesForHOBU(userId)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }
        public IHttpActionResult GetIncrementData()
        {
            HofBUData data = new HofBUData();

            return(Ok(data.GetIncrementData()));
        }
        public IHttpActionResult GetDeadline()
        {
            HofBUData data = new HofBUData();

            return(Ok(data.GetDeadline()));
        }
        public IHttpActionResult GetEmployeeByidForHOBU(string id)
        {
            HofBUData data = new HofBUData();

            return(Ok(data.GetEmployeeByidForHOBU(id)));
        }
        public IHttpActionResult GetIndividualEmployeeObjectiveById(string id)
        {
            HofBUData data = new HofBUData();

            return(Ok(data.GetIndividualEmployeeObjectiveById(id)));
        }