Exemplo n.º 1
0
        public static Stuff GetItem(string name)
        {
            MembershipUser u  = Membership.GetUser(name);
            Guid           id = (Guid)u.ProviderUserKey;

            return(StuffDAL.GetItem(id));
        }
Exemplo n.º 2
0
 public static bool Delete(Stuff stuff)
 {
     return(StuffDAL.Delete(stuff.StuffId));
 }
Exemplo n.º 3
0
 public static Guid Update(Stuff stuff)
 {
     stuff.StuffId = StuffDAL.Update(stuff);
     return(stuff.StuffId);
 }
Exemplo n.º 4
0
 public static Guid Insert(Stuff stuff)
 {
     stuff.StuffId = StuffDAL.Insert(stuff);
     return(stuff.StuffId);
 }
Exemplo n.º 5
0
 public static List <Stuff> GetList()
 {
     return(StuffDAL.GetList());
 }