Esempio n. 1
0
        public async Task <JsonResult> GetGDInformationByFiltering(int statusId, int id)
        {
            IEnumerable <GDInformation> gdInfo = new List <GDInformation>();

            //if (statusId == 0 && id==0)
            //{
            //    gdInfo = await lostAndFoundService.GetAllGDInformation();
            //}
            //else if(statusId == 0 && id == 0)
            //{
            gdInfo = await lostAndFoundService.GetAllGDInformationByGDType(statusId, id);

            //}

            return(Json(gdInfo));
        }