public IHttpActionResult AddCompanyDetail(CompanyDetailAC companyDetail)
 {
     try
     {
         if (HttpContext.Current.User.Identity.IsAuthenticated)
         {
             var currentUser    = HttpContext.Current.User.Identity.GetUserId();
             var companyDetaill = _companyRepository.AddCompanyDetail(companyDetail, currentUser);
             return(Ok(companyDetaill));
         }
         else
         {
             return(BadRequest());
         }
     }
     catch (Exception ex)
     {
         _errorLog.LogException(ex);
         throw;
     }
 }