// POST api/profile public HttpResponseMessage Post(UseExistingRequirementModel value) { try { using (var ctx = new Entities()) { int userID = Authentication.GetLoggedUser().UserID; ctx.SelectRequirement(value.Cell, value.LeftTag, value.RightTag, userID, "Alteração de requisito para atender uma nova história"); ctx.SaveChanges(); return new HttpResponseMessage(HttpStatusCode.OK); } } catch { return new HttpResponseMessage(HttpStatusCode.InternalServerError); } }