public void UpdateUserAvatar(string id, string Url) { var user = GetUserById(id); user.Avatar_Url = Url; context.SaveChanges(); }