public void Insert(Guid Id, Guid IdNhanVien, string TenDangNhap, string Pass, bool KichHoat, Guid IdVaiTro, bool TrangThai, DateTime NgayTao, string NguoiTao, DateTime?NgayCapNhat, string NguoiCapNhat) { TblNguoiDung item = new TblNguoiDung(); item.Id = Id; item.IdNhanVien = IdNhanVien; item.TenDangNhap = TenDangNhap; item.Pass = Pass; item.KichHoat = KichHoat; item.IdVaiTro = IdVaiTro; item.TrangThai = TrangThai; item.NgayTao = NgayTao; item.NguoiTao = NguoiTao; item.NgayCapNhat = NgayCapNhat; item.NguoiCapNhat = NguoiCapNhat; item.Save(UserName); }
public TblNguoiDung Insert(TblNguoiDung item) { item.Save(UserName); return(item); }
public bool Destroy(object Id) { return(TblNguoiDung.Destroy(Id) == 1); }
public bool Delete(object Id) { return(TblNguoiDung.Delete(Id) == 1); }
public TblNguoiDung Update(TblNguoiDung item) { item.Save(UserName); return(item); }