예제 #1
0
        public ProductSignalR Create(ProductSignalR product)
        {
            product.ID = Guid.NewGuid();
            product.CreatedAt = DateTime.Now;

            Clients.Others.create(product);

            return product;
        }
예제 #2
0
 public void Destroy(ProductSignalR product)
 {
     Clients.Others.destroy(product);
 }
예제 #3
0
 public void Update(ProductSignalR product)
 {
     Clients.Others.update(product);
 }