-
-
Save conanak99/79e7d4a22c612b5ff3da4ae77f175ec6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Helper đã bự, ta cần tách | |
public class Helper { | |
public string GetUser(); | |
//..... | |
public DateTime GetTime(); | |
//..... | |
public string GetCurrentLocation(); | |
//..... | |
public DbConnection GetDatabaseConnection(); | |
} | |
// Tách helper thành các helper nhỏ hơn | |
public class UserHelper { | |
} | |
public class TimeLocationHelper { | |
} | |
public class DatabaseHelper { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment