Ejemplo n.º 1
0
        public static string TaoThuMucTuiHoSo(string maHoSo = "")
        {
            bool   flag = string.IsNullOrEmpty(maHoSo);
            string result;

            if (flag)
            {
                result = string.Format("HS-T{0}-{1}", ManageBase.GetSoThuTuHoSo(), DateTime.Now.Year);
            }
            else
            {
                result = string.Format("HS-T{0}-{1}-{2}", ManageBase.GetSoThuTuHoSo(), maHoSo, DateTime.Now.Year);
            }
            return(result);
        }