hi, I created a Group Appservice: public class GroupAppService : ApplicationService, IGroupAppService { private readonly IGroupRepository _groupRepository;
public GroupAppService(IGroupRepository groupRepository)
{
_groupRepository = groupRepository;
}
public GetGroupsOutput GetGroups()
{
var groups = _groupRepository.GetAllList();
return new GetGroupsOutput { Groups = Mapper.Map<List<GroupDto>>(groups) };
}
}
and I'm trying to call the GetGroups method by web api in my browser: <a class="postlink" href="http://localhost:6234/api/services/app/group/GetGroups">http://localhost:6234/api/services/app/group/GetGroups</a>
but i get an error like this: {"message":"An error has occurred.","exceptionMessage":"ComponentActivator: could not proxy Abp.WebApi.Controllers.Dynamic.DynamicApiController`1[[MetaJoin.Groups.IGroupAppService, MetaJoin.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]","exceptionType":"Castle.MicroKernel.ComponentActivator.ComponentActivatorException"
please help me,how can i fix this problem?