public User Post([FromBody]User user) { using (var db = new VideoQuizRepository<User>()) return db.Add(user); }
//POST: /api/ErrorApi public void Post(ErrorLog log) { using (var db = new VideoQuizRepository<ErrorLog>()) db.Add(log); }
public User Post([FromBody]User user) { using (var db = new VideoQuizRepository<User>()) return db.Add(user); }
//POST: /api/ErrorApi public void Post(ErrorLog log) { using (var db = new VideoQuizRepository<ErrorLog>()) db.Add(log); }