public async Task <bool> Edit(string id, [FromBody] Workout workout)
        {
            if (id != workout.Id)
            {
                return(false);
            }

            _hrcContext.Entry(workout).State = EntityState.Modified;
            await _hrcContext.SaveChangesAsync();

            return(true);
        }
        public async Task <bool> Edit(string username, [FromBody] User user)
        {
            if (username != user.Username)
            {
                return(false);
            }

            _hrcContext.Entry(user).State = EntityState.Modified;
            await _hrcContext.SaveChangesAsync();

            return(true);
        }