public LogInSession PutUserById(int id, [FromBody] LogInSession logInSession)
 {
     _context.Entry(logInSession).State = EntityState.Modified;
     _context.SaveChanges();
     return(logInSession);
 }
 public LogInSession LogInUser([FromBody] LogInSession logInSession)
 {
     _context.LoggedInUserId.Add(logInSession);
     _context.SaveChanges();
     return(logInSession);
 }