public void GetByIdSpecialOfferWithNoId()
        {
            var id = 0;

            Exception ex = Assert.ThrowsException <ArgumentException>(() =>
                                                                      SpecielOffersService.GetSpecialOffersById(id));

            Assert.AreEqual("Id need to be higher than 0", ex.Message);
        }
        public ActionResult <SpecialOffers> Get(int id)
        {
            try
            {
                return(Ok(_spclService.GetSpecialOffersById(id)));
            }

            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }