Пример #1
0
 public void Put(string id, [FromBody] UpdateNameModel model)
 {
     try
     {
         board_repo_.UpdateName(id, model);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
        public ActionResult Put(string id, [FromBody] UpdateNameModel model)
        {
            try
            {
                list_repo_.UpdateName(id, model);

                return(this.Ok());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Пример #3
0
 public bool UpdateName(string id, UpdateNameModel model)
 {
     db_.UpdateListField <string>(id, "Name", model.Name);
     return(true);
 }
Пример #4
0
 public void UpdateName(string id, UpdateNameModel model)
 {
     db_.UpdateBoardField <string>(id, "BoardName", model.Name);
 }