Beispiel #1
0
        public async Task <bool> Post([Bind("UserId,FirstName,LastName,EmailId")] Userdetails userdetails)
        {
            _context.Add(userdetails);
            await _context.SaveChangesAsync();

            return(true);
        }
Beispiel #2
0
        public async Task <bool> Create([Bind("ProjectId,Name,CreatedDate,ModifiedDate,Img,UserId")] Project project)
        {
            _context.Add(project);
            await _context.SaveChangesAsync();

            return(true);
        }