public async Task <IHttpActionResult> GetFuelSystemDesignById(int id)
        {
            FuelSystemDesign fuelSystemDesign = await _fuelSystemDesignApplicationService.GetAsync(id);

            FuelSystemDesignViewModel fuelSystemDesignViewModel = Mapper.Map <FuelSystemDesignViewModel>(fuelSystemDesign);

            return(Ok(fuelSystemDesignViewModel));
        }
        public async Task <IHttpActionResult> Post(FuelSystemDesignInputModel fuelSystemDesignInputModel)
        {
            // create fuelSystemDesign and list of comments
            FuelSystemDesign fuelSystemDesign = new FuelSystemDesign()
            {
                Id = fuelSystemDesignInputModel.Id, FuelSystemDesignName = fuelSystemDesignInputModel.Name
            };
            CommentsStagingModel comment = new CommentsStagingModel()
            {
                Comment = fuelSystemDesignInputModel.Comment
            };
            var attachments = SetUpAttachmentsModels(fuelSystemDesignInputModel.Attachments);

            var changeRequestId = await _fuelSystemDesignApplicationService.AddAsync(fuelSystemDesign, CurrentUser.Email, comment, attachments);

            return(Ok(changeRequestId));
        }