public ResponseModel GetRaisedbymefilterData(TaskFilterRaisedBymeModel taskMaster)
        {
            List <TaskFilterRaisedBymeResponseModel> objRaisedbyfilter = new List <TaskFilterRaisedBymeResponseModel>();
            StoreTaskCaller taskCaller       = new StoreTaskCaller();
            ResponseModel   objResponseModel = new ResponseModel();
            int             StatusCode       = 0;
            string          statusMessage    = "";

            try
            {
                string       token        = Convert.ToString(Request.Headers["X-Authorized-Token"]);
                Authenticate authenticate = new Authenticate();
                authenticate      = SecurityService.GetAuthenticateDataFromToken(_radisCacheServerAddress, SecurityService.DecryptStringAES(token));
                taskMaster.userid = authenticate.UserMasterID;
                objRaisedbyfilter = taskCaller.GetRaisedbyfiterData(new StoreTaskService(_connectionSting), taskMaster);
                StatusCode        =
                    objRaisedbyfilter.Count == 0 ?
                    (int)EnumMaster.StatusCode.RecordNotFound : (int)EnumMaster.StatusCode.Success;
                statusMessage                 = CommonFunction.GetEnumDescription((EnumMaster.StatusCode)StatusCode);
                objResponseModel.Status       = true;
                objResponseModel.StatusCode   = StatusCode;
                objResponseModel.Message      = statusMessage;
                objResponseModel.ResponseData = objRaisedbyfilter;
            }
            catch (Exception)
            {
                throw;
            }
            return(objResponseModel);
        }
 public List <TaskFilterRaisedBymeResponseModel> GetRaisedbyfiterData(IStoreTask task, TaskFilterRaisedBymeModel taskMaster)
 {
     _TaskRepository = task;
     return(_TaskRepository.GetRaisedbyfiterData(taskMaster));
 }