public bool Create(RemarkW remark)
        {
            remark.Id = Guid.NewGuid();
            Db.Remarks.Add(remark.ToBase());
            Db.SaveChanges();

            return(true);
        }
        public bool Edit(RemarkW remark)
        {
            var r = Db.Remarks.Find(remark.Id);

            r.Text = remark.Text;
            Db.SaveChanges();

            return(true);
        }
        public ActionResult Edit(RemarkW remark)
        {
            if (ModelState.IsValid)
            {
                var isEdited = _rep.Edit(remark);
                return(RedirectToAction("Index"));
            }

            return(View(remark));
        }