I have some controllers under Areas (e.g. Master), but I can't call the @L("SomeString") method in its view page. If I create a controller under Controllers folder, then I can use the @L("SomeString") method to get the localized string. So how can I use @L method in the views of controllers under areas.
I am trying the SimpleTaskSystem, when I use ajax get to get all tasks, I got an error: Your request is not valid! Here is the steps I have done.
public interface ITaskAppService : IApplicationService
{
[HttpGet]
GetTasksOutput GetTasks(GetTasksInput input);
[HttpPut]
void UpdateTask(UpdateTaskInput input);
[HttpPost]
void CreateTask(CreateTaskInput input);
}
public interface ITaskAppService : IApplicationService
{
[HttpPost]
GetTasksOutput GetTasks(GetTasksInput input);
[HttpPut]
void UpdateTask(UpdateTaskInput input);
[HttpPost]
void CreateTask(CreateTaskInput input);
}
How can I get tasks with http get?