Exemplo n.º 1
0
 public static void CerifyFB(ViewModels.FBuser fbuser)
 {
     FB_first_name = fbuser.first_name;
     FB_last_name  = fbuser.last_name;
     FB_gender     = fbuser.gender;
     FB_verified   = fbuser.verified;
 }
Exemplo n.º 2
0
 public IActionResult Post([FromBody] ViewModels.FBuser fbuser)
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     ScoreValLogic.CerifyFB(fbuser);
     return(Ok());
 }