public ActionResult Update(ContentType contentType) { contentTypeRepository.Update(contentType); if (UnitOfWork.Save() != 1) { return(Content("{success:false}")); } return(Content("{success:true}")); }
public ActionResult Update(ContentType contentType) { contentTypeRepository.Update(contentType); if (UnitOfWork.Save() != 1) { return(Content("{success:false}")); } return(Content("{success:true}")); }