public object Post(AddProtein request)
 {
     var user = Repository.GetUser(request.UserId);
     user.Total += request.Amount;
     Repository.UpdateUser(user);
     return new AddProteinResponse { NewTotal = user.Total };
 }
        public object Post(AddProtein request)
        {
            var user = Repository.GetUser(request.UserId);

            user.Total += request.Amount;
            Repository.UpdateUser(user);
            return(new AddProteinResponse {
                NewTotal = user.Total
            });
        }