public IHttpActionResult Postregistration(registration registration)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var userdata = db.user_signup(registration.user_id, registration.first_name, registration.middle_name, registration.last_name,
                                          registration.phone_number, registration.email_id, registration.gender, registration.date_of_birth, registration.pass,
                                          registration.photo_filename, registration.bio);

            return(CreatedAtRoute("DefaultApi", new { id = registration.user_id }, registration));
        }