Exemple #1
0
        /// <summary>
        /// Check if the Recognition is there
        /// </summary>
        /// <param name="starzId"></param>
        /// <returns></returns>
        public List <ProfileRecognition> GetRecognitionByStarsId(string starzId)
        {
            ProfileRecognitionRepository _profileR = new ProfileRecognitionRepository();

            return(_profileR.GetRecognitionByStarsId(starzId));
        }
Exemple #2
0
        /// <summary>
        /// Update the data when the entry already exist
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool Update(ProfileRecognition model)
        {
            ProfileRecognitionRepository _profileR = new ProfileRecognitionRepository();

            return(_profileR.Update(model));
        }
Exemple #3
0
        /// <summary>
        /// get all the data using the starz Id as parameter
        /// </summary>
        /// <param name="starzId"></param>
        /// <returns> list of recognitions</returns>
        public List <RecognitionModel> GetAll(string starzId)
        {
            ProfileRecognitionRepository _profileR = new ProfileRecognitionRepository();

            return(_profileR.GetAll(starzId));
        }