// GET: api/Suppliers
        public HttpResponseMessage Get()
        {
            var             message = Request.CreateErrorResponse(HttpStatusCode.NotFound, "No Data Available");
            List <Supplier> get     = _supplierApplication.Get();

            if (get.Count() != 0)
            {
                message = Request.CreateResponse(HttpStatusCode.OK, get);
                return(message);
            }
            return(message);
            //return new string[] { "value1", "value2" };
        }
        // GET: api/Suppliers
        public HttpResponseMessage Get()
        {
            //message error respon (404, 403, ...)
            var             message = Request.CreateErrorResponse(HttpStatusCode.NotFound, "No Data Available");
            List <Supplier> get     = _supplierApplication.Get();

            if (get.Count() != 0)
            {
                message = Request.CreateResponse(HttpStatusCode.OK, get);
                return(message);
            }
            return(message);
        }