Example #1
0
        public IHttpActionResult DeleteUom(string UomCode, int Type)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }
            int afRecCnt = UomHelper.DeleteUom(UomCode, Type);

            if (afRecCnt <= 0)
            {
                return(BadRequest());
            }
            return(Ok());
        }