first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
using Fitness_core_BE.Models.IOs;
using Microsoft.AspNetCore.Mvc;
namespace Fitness_core_BE.Helpers
{
public static class ApiResponseHelper
{
public static ActionResult<ApiResponse<T>> Response<T>(T data, int statusCode = 200, string message = "OK")
=> new ObjectResult(new ApiResponse<T> { StatusCode = statusCode, Message = message, Data = data }) { StatusCode = statusCode };
}
}