void IUserSessionsRepository.CreateUserLogout(UserLogout logout) { using (var dc = CreateContext()) { dc.UserLoginEntities.InsertOnSubmit(logout.Map()); dc.SubmitChanges(); } }
public static UserLoginEntity Map(this UserLogout logout) { return(logout.Map(ActivityType.Logout)); }