Example #1
0
        public async Task <IHttpActionResult> ZumReponierenBereit([FromBody] AbbrechenParams p)
        {
            var access = ManagementControllerHelper.GetUserAccess();

            AssertUserHasFeatureForOrderingType(p.OrderItemIds.ToArray(), access, ApplicationFeature.AuftragsuebersichtAuftraegeKannReponieren, null);

            await orderManagerClient.ZumReponierenBereit(ControllerHelper.GetCurrentUserId(), p.OrderItemIds);

            return(Content <object>(HttpStatusCode.NoContent, null));
        }