public IActionResult Put(int foodTruckId, int socialMediaAccountId, [FromBody] UpdateSocialMediaAccount updateModel)
        {
            var account = this.foodTruckService.UpdateSocialMediaAccount(foodTruckId,
                                                                         socialMediaAccountId,
                                                                         updateModel.AccountName);

            var model = this.mapper.Map <SocialMediaAccount, SocialMediaAccountModelV11>(account);

            return(this.Ok(model));
        }
        public IActionResult Put(int foodTruckId, int socialMediaAccountId, [FromBody] UpdateSocialMediaAccount updateModel)
        {
            var result = _foodTruckService.UpdateSocialMediaAccount(foodTruckId, socialMediaAccountId, updateModel.AccountName);

            return(CreateResponse <SocialMediaAccount, SocialMediaAccountModelV11>(result));
        }