// private readonly UserDetailsService _service;

        public UserDetailsController(Sharewithcontext context /*UserDetailsService service*/)
        {
            _context = context;
            // _service = service;
            // if (_context.mytable.Count() == 0)
            // {
            //     _context.mytable.Add(new mytable {  CreatedBy= "Baisakh" });
            //     _context.SaveChanges();
            // }
        }
Example #2
0
 public ContentShareController (Sharewithcontext context)
 {
     _context = context;
 }
Example #3
0
        // private readonly UserDetailsService _service;

        public UserDetailsController(Sharewithcontext context /*UserDetailsService service*/)
        {
            _context = context;
        }
Example #4
0
 public UserFileDetailsController(Sharewithcontext context)
 {
     _context = context;
 }
Example #5
0
 public UserDetailsService(Sharewithcontext context)
 {
     _context = context;
 }