public async Task <bool> Post([Bind("UserId,FirstName,LastName,EmailId")] Userdetails userdetails) { _context.Add(userdetails); await _context.SaveChangesAsync(); return(true); }
public async Task <bool> Create([Bind("ProjectId,Name,CreatedDate,ModifiedDate,Img,UserId")] Project project) { _context.Add(project); await _context.SaveChangesAsync(); return(true); }