Пример #1
0
        public async Task <IActionResult> GetAllImportUser(string searchKey, int offset, int limit, int isImported, int isSubscribed)
        {
            try
            {
                NL_Controller objCon = new NL_Controller();
                var           users  = await objCon.GetAllImportUser(searchKey, offset, limit, isImported, isSubscribed);

                return(new ObjectResult(users));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Пример #2
0
        public async Task <IActionResult> GetAllSubscriber(string Keyword = "", int Offset = 0, int Limit = 10, int IsImported = 0, int IsSubscribed = 0)
        {
            try
            {
                NL_Controller objCon = new NL_Controller();
                var           users  = await objCon.GetAllImportUser(Keyword, Offset, Limit, IsImported, IsSubscribed);

                return(new ObjectResult(users));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }