public CustomProfileProvider(string currentLogin, DataAccess.IProfileDao profileDao) { _currentLogin = currentLogin; _profileDao = profileDao; }
public CustomProfileProvider() { _currentLogin = System.Web.HttpContext.Current.User.Identity.Name; _profileDao = new DataAccess.SQLSupport.ProfileDao(); }