public DataTable GetRefferedIdByName(string RefferedName)
        {
            aRefferedInfoGatway = new RefferedInfoGatway();
            DataTable dataTable = aRefferedInfoGatway.PopulateGridView();

            return(dataTable);
        }
        public DataTable PopulateGridView()
        {
            aRefferedInfoGatway = new RefferedInfoGatway();
            DataTable dataTable = aRefferedInfoGatway.PopulateGridView();

            return(dataTable);
        }
        public MessageModel DeleteRefferedInfo(RefferedInfo aRefferedInfo)
        {
            MessageModel aMessageModel = new MessageModel();

            aRefferedInfoGatway = new RefferedInfoGatway();
            if (aRefferedInfoGatway.DeleteRefferedInfo(aRefferedInfo) > 0)
            {
                aMessageModel.MessageTitle = "Successfull";
                aMessageModel.MessageBody  = "Reffered info deleted successfully.";
            }
            return(aMessageModel);
        }