Thursday 23 January 2020

POST API ASP.Net

POST API ASP.Net C# (MVC)

API Controller


public class MyapiController : ApiController
    {
        // GET api/myapi
        public MyapiController() { }
     
        // POST api/myapi
      
        public IHttpActionResult Postdata([FromBody] NotificationModel data)
        {
            UserRepository obj = new UserRepository();
            string ErrMsg="";
            obj.AddNotesDB(data, ref ErrMsg);
            return Ok();
        }

    }

Monday 20 January 2020

Return JSON Object from API Controller

Return JSON Object from API Controller ASP.Net C# (MVC)


public IHttpActionResult GetNotification()
        {
            UserRepository ob = new UserRepository();
            List<NotificationAPIModel> data = new List<NotificationAPIModel>();
            data = ob.GetNotificationAPI("0", "2");

Sunday 19 January 2020

Answer : M1-R4: IT TOOLS & BUSINESS SYSTEMS Jan-2018

Answer  : M1-R4: IT TOOLS & BUSINESS SYSTEMS Jan-2018

1. Multiple Choice


1.1 : A
1.2 : A
1.3 : C
1.4 : A

Saturday 18 January 2020

Solved : M1-R4: IT TOOLS & BUSINESS SYSTEMS Jan-2018

Solved : M1-R4: IT TOOLS & BUSINESS SYSTEMS Jan-2018


1. Each question below gives a multiple choice of answers. Choose the most appropriate  one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

1.1 : Binary equivalent of (53.625)10 is .
A)  (110101.101)2 B)  (111101.001)2
C)  (110111.100)2 D)  (100101.101)2
1.2 : FAT stands for________
A) File Allocation Table
B) Folder Allocation Table
C) Folder Allocation Transition
D) File Allocation Transition
1.3 : ____ operation of file or folder is required to move location of file or folder.
A) Copy followed by Paste
B) Cut followed by Paste
C) Move followed by Paste
D) Change location