Exemplo n.º 1
0
        /// <summary>
        /// Place order
        /// </summary>
        /// <param name="ProductId"></param>
        /// <param name="UserId"></param>
        /// <returns></returns>
        public Task <bool> PlaceOrder(string ProductId, string UserId)
        {
            //Do code here

            return(_groceryRepository.PlaceOrder(ProductId, UserId));
            //throw new NotImplementedException();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Place order
        /// </summary>
        /// <param name="ProductId"></param>
        /// <param name="UserId"></param>
        /// <returns></returns>
        public Task <bool> PlaceOrder(string ProductId, string UserId)
        {
            var result = _groceryRepository.PlaceOrder(ProductId, UserId);

            return(result);
        }