public void Post([FromBody] Remedy remedy) { _db.Remedies.Add(remedy); _db.SaveChanges(); }
public void Post([FromBody] Rating rating) { _db.Ratings.Add(rating); _db.SaveChanges(); }
public void Post([FromBody] Remedy remedy) { _db.Remedies.Add(remedy); _db.SaveChanges(); }
public void Post([FromBody] Rating rating) { _db.Ratings.Add(rating); _db.SaveChanges(); }