public async Task CreateSystemLookupsSuccessfuly()
        {
            CreateSystemLookupCommand createCommand = new CreateSystemLookupCommand()
            {
                Lookups = new [] {
                    new NewSystemLookupModel()
                    {
                        Value = "Production", Type = "Cost Center"
                    },
                    new NewSystemLookupModel()
                    {
                        Value = "Manufacturing", Type = "Cost Center"
                    }
                }
            };

            CreateSystemLookupCommandHandler handler = new CreateSystemLookupCommandHandler(_Database);

            //Assert
            var result = await handler.Handle(createCommand, CancellationToken.None);

            Assert.Equal(Unit.Value, result);
        }
        public async Task <ActionResult> CreateSystemLookup([FromBody] CreateSystemLookupCommand model)
        {
            var result = await _Mediator.Send(model);

            return(StatusCode(201, result));
        }