public HttpResponseMessage PostRecruiter(RecruiterPostRequest request)
        {
            if (!ModelState.IsValid)
            {
                return(Request.CreateResponse(HttpStatusCode.BadRequest, ModelState));
            }

            try
            {
                SuccessResponse response = new SuccessResponse();

                RecruiterService.PostRecruiter(request);

                RecruiterService.UpgradeToRecruiter();

                ReminderPostRequest reminder = new ReminderPostRequest();
                reminder.CreatedBy              = HttpContext.Current.User.Identity.GetUserId();
                reminder.ReminderDateTime       = DateTime.UtcNow;
                reminder.ReminderDateTimeString = reminder.ReminderDateTime.ToString();
                reminder.ReminderDescription    = "Thank you for signing up as a Recruiter, your account is now capable of posting Jobs along with managing Jobs in your Recruiter Dashboard";
                reminder.ReminderType           = 2;

                RecruiterService.PostReminder(reminder);

                UserService.Logout();

                return(Request.CreateResponse(response));
            }
            catch (Exception ex)
            {
                ErrorLogService    svc     = new ErrorLogService();
                ErrorLogAddRequest payload = new ErrorLogAddRequest();
                payload.ErrorFunction = "Aic.Web.Controllers.Api.PostRecruiter";
                payload.ErrorMessage  = ex.Message;
                payload.UserId        = UserService.UserSelect().PersonId;
                svc.ErrorLogInsert(payload);
                return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message));
            }
        }