public static bool AddEditDeleteTameliStatus(ATTTameliStatus tameliStatus)
 {
     try
     {
         return(DLLTameliStatus.AddEditDeleteTameliStatus(tameliStatus));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public static List <ATTTameliStatus> GetTameliStatus(int?tameliStatusID, string active)
        {
            try
            {
                List <ATTTameliStatus> tameliStatusLIST = new List <ATTTameliStatus>();
                foreach (DataRow drow in DLLTameliStatus.GetTameliStatus(tameliStatusID, active).Rows)
                {
                    ATTTameliStatus tameliStatus = new ATTTameliStatus();

                    tameliStatus.TameliStatusID   = int.Parse(drow["TAMELI_STATUS_ID"].ToString());
                    tameliStatus.TameliStatusName = drow["TAMELI_STATUS_NAME"].ToString();
                    tameliStatus.Active           = drow["ACTIVE"].ToString();
                    tameliStatus.Action           = "";

                    tameliStatusLIST.Add(tameliStatus);
                }
                return(tameliStatusLIST);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }