public ActionResult <string> GetAllAlterations()
        {
            var filter = new GetAlterationsFilter();

            try
            {
                var alterations = QueryBus
                                  .Dispatch <GetAlterationsFilter, CollectionQueryResult <GetAlterationsDto> >
                                      (filter);

                return(Ok(alterations.Items));
            }
            catch (Exception ex)
            {
                return(StatusCode(500, ex.Message));
            }
        }
        public ActionResult <string> GetAlteration(Guid?suitId)
        {
            if (suitId == null)
            {
                return(StatusCode(500, "Invalid SuitId"));
            }
            var filter = new GetAlterationsFilter()
            {
                SuitId = suitId,
            };

            try
            {
                var alterations = QueryBus
                                  .Dispatch <GetAlterationsFilter, CollectionQueryResult <GetAlterationsDto> >
                                      (filter);

                return(Ok(alterations.Items.FirstOrDefault()));
            }
            catch (Exception ex)
            {
                return(StatusCode(500, ex.Message));
            }
        }