MagicFile by Luigi Senzamici

<PackageReference Include="MagicFile" Version="2.0.1" />


public interface IResponse
object data()

read data property to use cast it to DataTable type

void data(object dat)

set data property

object dataTo<tipo>()

string error()

read error property

void error(string err)

set error property

bool fail()

read failure property

void fail(bool fai)

set failure property

string message()

read message property

void message(string mes)

set message property

void set(bool success)

set success property

void set(bool success, string message)

set success property and message

void set(bool success, string message, object data)

set property success, message and data

bool success()

read success property

void success(bool suc)

set success property