예제 #1
0
        public async Task <IActionResult> GetPrSubGrpListByPrGrpCode(int id)
        {
            try
            {
                var productSubGroupList = await _efCoreRepositoryProduct.GetPrSubGrpListByPrGrpCode(id);

                if (productSubGroupList == null)
                {
                    return(NotFound());
                }

                return(Ok(productSubGroupList));
            }
            catch (Exception)
            {
                return(BadRequest());
            }
        }