04 2014 档案
摘要:1 (function() { 2 if (window.FileUpload) { 3 return; 4 } 5 window.FileUpload = function (id, url) { 6 this.id = id;...
阅读全文
摘要:需求:代码: 1 namespace Demo.Services 2 { 3 public class UserService : IUserService 4 { 5 public void UpdateByAdmin(User user, int[] roleIds) 6 { 7 using (var db = new DemoDbContext()) 8 { 9 var dbUser = db.Users.Get(user.Id);10 ...
阅读全文