public async Task <ActionResult <Keep> > EditKeepCount(int id, [FromQuery] Keep editKeep) { try { Profile userInfo = await HttpContext.GetUserInfoAsync <Profile>(); editKeep.Id = id; return(Ok(_ks.EditKeepCount(editKeep, userInfo.Id))); } catch (System.Exception e) { return(BadRequest(e.Message)); } }