public static string ToJson(ResponseStatusEnum status, string message) { var customResponseAlert = new CustomResponseAlert(status, message); return(JsonConvert.SerializeObject(customResponseAlert)); }
public static string GetStringResponse(ResponseStatusEnum status, string message) { var customResponseAlert = new CustomResponseAlert(status, message); return(customResponseAlert.ToString()); }