Пример #1
0
 private static IEnumerable<MarkRequestViewModel> GetRequestsForUser(User user)
 {
     foreach (MarkRequest request in user.MarkRequests)
     {
         yield return
             new MarkRequestViewModel
                 {
                     Author = request.User.FirstName,
                     Date = request.Date,
                     Employee = request.Mark.To.FirstName
                 };
     }
 }
Пример #2
0
 partial void DeleteUser(User instance);
Пример #3
0
 partial void UpdateUser(User instance);
Пример #4
0
 partial void InsertUser(User instance);