public int GetUserQuiz(int id)
 {
     string userid = User.Identity.GetUserId();
     UserQuiz obj = new UserQuiz();
     obj.UserID = userid;
     obj.QuizID = id;
     obj.CreatedBy = userid;
     obj.ModifiedBy = userid;
     int retid = _repo.CreateUserQuiz(obj);
     return retid;
 }
 // POST: api/UserQuiz
 public int Post(UserQuiz obj)
 {
     return _repo.CreateUserQuiz(obj);
 }