public async Task<ActionResult> EditPublisher(int user_id, int publisher_id, PublisherViewModel pubObj)
        {
            try
            {

                var user = await _mLearningService.GetObjectWithId<User>(user_id);
                var head = await _mLearningService.GetObjectWithId<Publisher>(publisher_id);
                


                //Copy Ids
                pubObj.User.id = user_id;
                pubObj.Publisher.id = publisher_id;
                

                pubObj.User.password = EncryptionService.encrypt(pubObj.User.password);


                //Fields which doesn't update
                pubObj.User.email = user.email;
                pubObj.User.is_online = user.is_online;
                pubObj.User.social_id = user.social_id;
                pubObj.User.image_url = user.image_url;
                pubObj.User.updated_at = user.updated_at;
                pubObj.User.created_at = user.created_at;


                pubObj.Publisher.updated_at = head.updated_at;
                pubObj.Publisher.created_at = head.created_at;
                pubObj.Publisher.User_id = head.User_id;





                //Update DB
                await _mLearningService.UpdateObject<User>(pubObj.User);


                await _mLearningService.UpdateObject<Publisher>(pubObj.Publisher);




                return RedirectToAction("Index", new { id = UserID });

            }
            catch
            {
                return RedirectToAction("Index", new { id = UserID });
            }

        }
        async public Task<ActionResult> CreatePublisher(PublisherViewModel pubObj)
        {
            try
            {
                pubObj.User.password = EncryptionService.encrypt(pubObj.User.password);

                await _mLearningService.CreateAndRegisterPublisher(pubObj.User, pubObj.Publisher, InstitutionID);

                return RedirectToAction("Index", new { id = UserID });
            }
            catch
            {
                return RedirectToAction("Index", new {id = UserID });
            }
        }