/// <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(); }
/// <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); }