TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mrudul Ganpule
NA
23
25.5k
passing values to method
May 6 2014 6:57 AM
I have ,
public void AddAsync<T>(T entity) where T : IEntity; method from DataService class
I have class SalesReceipt
and i want to add this SalesReceipt in AddAsync method .
like
DataService dataService = new DataService(serviceContext);
OnlineSalesReceiptQBEntry SalesReceipt = new OnlineSalesReceiptQBEntry();
SalesReceipt .AutoDocNumber = "1010";
SalesReceipt .ApplyTaxAfterDiscount = "True";
dataService.AddAsync(SalesReceipt );//error line
How to call this method/ add SalesReceipt to AddAsync().
Reply
Answers (
1
)
C# Assinement
I want to return different views with if statement