Example #1
0
        public IHttpActionResult GetUom(string UomCode)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }
            var myUom = UomHelper.GetUom(UomCode);

            return(Ok(myUom));
        }