public static string GetUser(long userId) { string name = string.Empty; IUnitOfWork db = new BubbleNet.Infrastructure.Persistence.UnitOfWork(); name = db.Users.GetUserName(userId); db.Dispose(); return name; }
public static string GetUser(long userId) { string name = string.Empty; IUnitOfWork db = new BubbleNet.Infrastructure.Persistence.UnitOfWork(); name = db.Users.GetUserName(userId); db.Dispose(); return(name); }