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