public async Task <ActionResult <Keep> > EditOneKeep(int id, [FromBody] Keep editKeep) { try { Profile userInfo = await HttpContext.GetUserInfoAsync <Profile>(); editKeep.CreatorId = userInfo.Id; editKeep.Id = id; editKeep.Creator = userInfo; _kservice.EditOneKeep(editKeep); return(Ok(editKeep)); } catch (System.Exception err) { return(BadRequest(err.Message)); } }