public async Task<HttpResponseMessage> PostConstraintGroup(Guid id, ConstraintGroupSaveRequest constraintGroup) { await _componentsRepository.SaveConstraintGroup(new ConstraintGroup { Id = id, Name = constraintGroup.Name, Description = constraintGroup.Description, }); return Request.CreateResponse(HttpStatusCode.OK); }
public async Task <HttpResponseMessage> PostConstraintGroup(Guid id, ConstraintGroupSaveRequest constraintGroup) { await _componentsRepository.SaveConstraintGroup(new ConstraintGroup { Id = id, Name = constraintGroup.Name, Description = constraintGroup.Description, }); return(Request.CreateResponse(HttpStatusCode.OK)); }