Exemplo n.º 1
0
        public string DeleteShare(int vaultId, int keepId)
        {
            var  user   = HttpContext.User.Identity.Name;
            bool result = _db.DeleteShare(vaultId, keepId, user);

            if (result)
            {
                return("Successfully Removed!");
            }
            return("An Error Occurred! Try Again!");
        }