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