// PUT: api/Managercomment/5 public void Put(int id, Manager_comment value) { Manager_comment_Repository manrepo = new Manager_comment_Repository(); manrepo.Edit(value, id); }
// DELETE: api/Managercomment/5 public void Delete(int id) { Manager_comment_Repository manrepo = new Manager_comment_Repository(); manrepo.Delete(id); }
// POST: api/Managercomment public void Post(Manager_comment value) { Manager_comment_Repository manrepo = new Manager_comment_Repository(); manrepo.CreateComment(value); }